load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "link_lib",
    srcs = ["main.go"],
    importpath = "github.com/iceber/iouring-go/examples/link",
    visibility = ["//visibility:private"],
    deps = ["//:iouring-go"],
)

go_binary(
    name = "link",
    embed = [":link_lib"],
    visibility = ["//visibility:public"],
)
